package com.dsg.entity.account;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 天鑽收款銀行帳戶
 * </p>
 *
 * @author system
 * @since 2020-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_account_setting")
@ApiModel(value="DsgAccountSetting对象", description="天鑽收款銀行帳戶")
public class DsgAccountSetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "油公司")
    @TableField("OIL_COM")
    private String oilCom;

    @ApiModelProperty(value = "銀行標識")
    @TableField("BANK_ID")
    private String bankId;

    @ApiModelProperty(value = "商戶編號")
    @TableField("MERCHANT_NO")
    private String merchantNo;

    @ApiModelProperty(value = "商戶名稱")
    @TableField("MERCHANT_NAME")
    private String merchantName;

    @ApiModelProperty(value = "銀行名稱")
    @TableField("ACCOUNT_NAME")
    private String accountName;

    @ApiModelProperty(value = "銀行帳號")
    @TableField("ACCOUNT_NO")
    private String accountNo;

    @ApiModelProperty(value = "銀行編號")
    @TableField("BANK_NO")
    private String bankNo;

    @ApiModelProperty(value = "銀行名稱")
    @TableField("BANK_NAME")
    private String bankName;

    @ApiModelProperty(value = "收款方式")
    @TableField("PAY_METHOD")
    private String payMethod;

    @ApiModelProperty(value = "預設收款方式")
    @TableField("DEF_METHOD")
    private String defMethod;

    @ApiModelProperty(value = "企業編號")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "預設收款方式名稱")
    @TableField(exist = false)
    private String defMethodName;
}
